home *** CD-ROM | disk | FTP | other *** search
- Path: grafix.xs4all.nl!john.hendrikx
- Date: Mon, 29 Jan 96 20:32:49 GMT+1
- Newsgroups: comp.sys.amiga.programmer
- Distribution: world
- Subject: Re: Amiga doesn`t need Planar!
- MIME-Version: 1.0
- Content-Type: text/plain; charset=iso-8859-1
- Content-Transfer-Encoding: 8bit
- From: john.hendrikx@grafix.xs4all.nl (John Hendrikx)
- Message-ID: <john.hendrikx.4a7r@grafix.xs4all.nl>
- Organization: Grafix Attack BBS Holland
-
- In a message of 28 Jan 96 Stephan Schaem wrote to All:
-
- >> Chunky can still do that better. Most Chunky cards have got a 16-color
- >> mode where 1 byte represents 2 16-color pixels. Although lots of
- >> advantages of Chunky are lost this way it would still be faster to plot
- >> a pixel, draw a vertical line and stuff like that vs 4 bitplane Planar.
-
- SS> For gfx planar is not too cool... but like planar can save memory,
- SS> it can also save bandwidth. A basic example is CED, only write/scroll
- SS> 1 bitplane. Now if amiga only had chunky and it was opnened on a 8bit
- SS> screen and had no blitter, ced would be 8 time slower for its display
- SS> operation.
-
- Yep, but since Chunky can easily be handled with the CPU scrolling would
- atleast become faster with faster CPU's. There is still my point that Chunky
- however is also cheaper to build/implement in hardware as it can do more with
- less bandwidth in the most common cases. If the hardware uses less bandwidth
- it means that RAM can more easily keep up with the gfx-processors on the card,
- which means cheaper and faster cards.
-
- To name a very common thing, how about 'drawing' a line of text? Each
- character will be drawn seperately with the blitter. If you for example use a
- 8x8 font planar displays will always read & write 8 words * number of bitplanes
- (okay, on Amiga that is). 8-bit Chunky would only write 8*8 bytes (+ possible
- optimisation to do word/long accesses), and no reading would be involved at
- all. This can make quite a difference when printing text to a screen.
-
- SS> I dont know if you do this, but if I clear a rectangle and do
- SS> operation
- SS> on the rectangle that wont overlap themself I mask out the plane that
- SS> will be set or cleared to its already set value.
- SS> ex: You write black onto gray... only 1 bitplane out of the 8 will
- SS> be accessed: to blit a rendered string buffer of 128x8 would need
- SS> 32 read/write to past the string, chunky 256 read/write (Plus 8x too
- SS> the bandwidth to create the string buffer in chunyk format: pc card
- SS> support 2 color text blit but maybe not all:)
- SS> Now you want to higlight the text in 'blue' , you just need to write
- SS> a rectangle in 1 bitplane and you have a blue highlight (of white or
- SS> black text on gray). in chunky you would need to read & write (I
- SS> assume
- SS> there you OR or XOR)
-
- Nice, but of little use in the real-world I'm affraid as it occurs very rarely.
-
- Grtz John
-
- -----------------------------------------------------------------------
- John.Hendrikx@grafix.xs4all.nl TextDemo/FastView/Etc... development
- -----------------------------------------------------------------------
- -- Via Xenolink 1.981, XenolinkUUCP 1.1
-